﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LEE.AspNetCore.Extensions.Swagger
{
    public class AddSwaggerOptions
    {
        /// <summary>
        /// 文档标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// XML注释文件路径
        /// </summary>
        public string XmlPath { get; set; }

        /// <summary>
        /// API版本
        /// </summary>
        public string Version { get; set; } = "V1.0";

        /// <summary>
        /// 是否添加Bearer jwt token验证
        /// </summary>
        public bool AddAuthorization { get; set; }

        /// <summary>
        /// 添加自定义header过滤器
        /// </summary>
        public List<AddHeaderOption> Headers { get; set; }
    }
}
